/*
 * price.h
 *
 *  Created on: Feb 24, 2016
 *      Author: ezhaome
 */

#ifndef PRICE_H_
#define PRICE_H_

class Price
{
public:
	virtual int getPriceCode() = 0;
	virtual ~Price() {}
	virtual double getCharge(int daysRented) = 0;
	int getFrequentPoints(int daysRented);
};


class ChildrenPrice : public Price
{
public:
	int getPriceCode();
	double getCharge(int);
};

class RegularPrice : public Price
{
public:
	int getPriceCode();
	double getCharge(int);
};

class NewReleasePrice : public Price
{
public:
	int getPriceCode();
	double getCharge(int);
	int getFrequentPoints(int daysRented);
};

#endif /* PRICE_H_ */
